<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>06_浮动布局</title>
    <style>
        .fu{
            width: 600px;
            background-color: #ff0;
        }
        .fu>div{
            width: 100px;
            height: 100px;
        }
        .z1{ background-color: rgba(255,0,0,0.1);
        float: left;}
        .z2{ background-color: #0f0;}
        .z3{ background-color: #00f;}
    </style>
</head>
<body>
<div class="fu">
    <div class="z1">111</div>
    <div class="z2">222</div>
    <div class="z3">333</div>
</div>
</body>
</html>